<form action="{plink AdminPhotogallery:saveGallery 'id'=>$id}" method="post">
	Název nové galerie: <input type="text" name="title" />
	<input type="submit" value="Uložit galerii" />
</form>

<div>
{foreach $info as $i}
	<div>
		<span><strong>{$i['title']}</strong></span>
		<a href="{plink AdminPhotogallery:photogallery 'id'=>$id, 'edit'=>$i['id_photogallery']}">Editovat</a>
		<a class="jq_galleryDelete" href="{plink AdminPhotogallery:deletePhotogallery 'id'=>$id, 'delete'=>$i['id_photogallery']}">Smazat</a>
	</div>
{/foreach}
</div>

